import request from '@/config/axios'


export interface MaterialVO {

}


export const porductclassificationApi = {
  // 产品分类新增
  create: async (data: data) => {
    return await request.post({ url: `/erp/product-category/create`, data })
  },
 // 产品分类列表
 pageList: async (params: any) => {
  return await request.get({ url: `/erp/product-category/list`, params })
},
   // 删除产品分类
   delete: async (data: any) => {
    return await request.delete({ url: `/erp/product-category/delete?id=`+data, })
  },
   // 获取详情产品分类
   details: async (data: any) => {
    return await request.get({ url: `/erp/product-category/get?id=`+data, })
  },
   // 修改产品分类
   update: async (data: any) => {
    return await request.put({ url: `/erp/product-category/update`,data, })
  },
}
